﻿namespace Journeo_backend.Services.Interfaces
{
    public interface ITransportationPlanService
    {
        // 创建交通计划
        Task<Response<TransportationPlan>> CreateTransportationPlan(TransportationPlanDTO transportationPlanDTO);

        // 更新交通计划
       Task<Response<TransportationPlan>> UpdateTransportationPlan(long transportId, TransportationPlanDTO transportationPlanDTO);

        // 删除交通计划
        Task<Response<string>> DeleteTransportationPlan(long transportId);

        // 删除计划的所有交通计划
        Task<Response<string>> DeleteTransportationPlans(long planId);

        // 根据计划获取交通计划
        Task<Response<TransportationPlan>> GetTransportationPlan(long transportId);

        // 获取计划的所有交通计划
        Task<PageResponse<TransportationPlan>> GetTransportationPlans(long planId, int pageNumber, int pageSize);

    }
}
